<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h2>
		Your applications</h2>
	<%= Html.ViewContext.HttpContext.User.Identity.Name %>
	<ul>
		<% foreach (var a in (ViewData["Apps"] as List<Mailer.Model.Types.Application>)
	   )
	 { %>
		<li>
			<%= Html.ActionLink( a.Name+" ", "View", new { Id = a.ID } ) %>
		</li>
		<% } %>
	</ul>
	<%= Html.ActionLink( "New application", "New" ) %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
